package waylines.actions
{
	import org.flintparticles.common.particles.Particle;
	import org.flintparticles.common.emitters.Emitter;
	import org.flintparticles.common.actions.ActionBase;

	public class Health extends ActionBase
	{
		public function Health()
		{
			super();
		}
		override public function update( emitter:Emitter, particle:Particle, time:Number ):void
		{
			if(particle.dictionary["health"] <= 0)
			{
				particle.isDead = true;
			}
		}
	}
}
